<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>11_ajax</title>
</head>
<body>
<div id="example"></div>

<script src="../js/react.js"></script>
<script src="../js/react-dom.js"></script>
<script src="../js/babel.min.js"></script>
<script type="text/babel">

  /*
  1. React没有ajax模块
    * 集成其它的js库(如jQuery/fetch/axios), 发送ajax请求
    * 利用函数对象的bind()改变函数内部的this指向
  2. 关于fetch:
    * https://github.github.io/fetch/
    * https://segmentfault.com/a/1190000003810652
  3. 测试url:
    * https://api.github.com/users/octocat/gists
  */

</script>
</body>
</html>



